import { delCookie, delLocalStorage } from '@/storage'

/** 清除存储 */
const clearStorage = () => {
    // 用户信息
    delLocalStorage('USER_DATA')
    // 求职档案来源
    delLocalStorage('ARCHIVE_DETAIL_SOURCE')
    // 用户身份
    delLocalStorage('IDENTITY_TYPE')
    // token
    delCookie('TOKEN')
}
export default clearStorage
